/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jse;

/**
 *
 * @author WangShuai
 */
public class multiLoop {

    public static void main(String[] args) {
        loop1:
        for (int i = 0; i < 5; i++) {
            System.out.println("Begin : " + i);
            loop2:
            for (int j = 0; j < 5; j++) {
                if (j == 1) {
                    continue loop1;  //After code will run
                }
                System.out.println("After : " + j);
            }
        }
    }
}
